package com.youtills.core.config;

/**
 * Created by IntelliJ IDEA.
 * User: ravi
 * Date: 9/5/12
 * Time: 11:47 AM
 * To change this template use File | Settings | File Templates.
 */
public final class Configuration {

    public static IConfig getConfig(String key){
        return getConfig(key, null);
    }

    public static IConfig getConfig(String key, String defaultValue){
        return new Config(key, defaultValue);
    }

    public static IConfigMulti getPrefixSuffixConfig(String prefix, String suffix, String defaultValue){
        return new ConfigMulti(prefix, suffix, defaultValue);
    }

}
